package cn.baddonkey.superqueryjavasdk.config;

import lombok.Data;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "module.config.json")
public class ModuleConfigJson {
    private JsonProcessorType type;

    @Getter
    @RequiredArgsConstructor
    public enum JsonProcessorType {
        FASTJSON("Fastjson"),
        JACKSON("Jackson"),
        GSON("Gson");

        private final String typeName;
    }
}
